package si.banst.tecajnice.web.mbean;

import java.util.logging.Logger;

import javax.faces.context.FacesContext;
import javax.inject.Named;

@Named
public class UporabnikMBean {
	private static final Logger logger = Logger.getLogger(UporabnikMBean.class
			.getName());

	public UporabnikMBean() {
		super();
	}

	public void odjava() {
		logger.fine("Odjavljam uporabnika. ");
		FacesContext.getCurrentInstance().getExternalContext().invalidateSession();
	}
}
